copy

fun copy(): Compound

Creates a deep copy of this compound, copying all deserialized values using Cbf.copy.


fun copy(copyFunc: (KType, Any) -> Any): Compound

Creates a deep copy of this compound, copying all deserialized values using copyFunc.