clone abstract method

NodeData clone()

Creates a deep copy of this node data object.

The cloned object should be completely independent of the original, with no shared references to mutable objects.

Implementation

NodeData clone();