public interface KryoCopyable<T>
This method is used instead of the registered serializer Serializer.copy(Kryo, Object)
method.
T copy(Kryo kryo)
Kryo.reference(Object)
must be called with the copy to ensure it can be referenced by the child objects.Serializer.copy(Kryo, Object)