@Override
    public void write(JmeExporter e) throws IOException {
        OutputCapsule out = e.getCapsule(this);
        out.write(targetMeshIndex, "meshIndex", 0);
        out.write(frames, "frames", null);
        out.write(times, "times", null);
    }
This method creates a clone of the current object.
@return a clone of the current object
jme3-core/src/main/java/com/jme3/animation/PoseTrack.java