deepCopy

abstract override fun deepCopy(retainUuid: Boolean): DecoratorScheme(source)

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

Fields annotated with Transient are shallow-copied.

See also

DecoratorScheme.deepCopyTransient

utility function for subclasses that want to implement deepCopy