deepCopy

open override fun deepCopy(retainUuid: Boolean): UuidScheme(source)

Returns a deep copy, retaining the uuid if and only if retainUuid is true.

Fields annotated with Transient are shallow-copied.

See also

UuidScheme.deepCopyTransient

utility function for subclasses that want to implement deepCopy