Clones a primitive value or an object that implements the PrimitiveValObject interface.
The primitive value to clone.
A clone of the primitive value or the original value if it is not a primitive.
Clones a primitive value or an object that implements the PrimitiveValObject interface.