@Override
    public void write(JmeExporter e) throws IOException {
        OutputCapsule out = e.getCapsule(this);
        out.write(name, "name", "");
        out.write(targetMeshIndex, "meshIndex", -1);
        out.write(offsets, "offsets", null);
        out.write(indices, "indices", 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/Pose.java