Clones an instance following type T. If the target input value or its member
variable contains a class instance having methods, those methods would not be
cloned.
For reference, this typia.misc.clone() function does not validate the input value
type. It just believes that the input value is following the type T. Therefore,
if you can't ensure the input value type, it would be better to call
assertClone function instead.
Clone a data.
Clones an instance following type
T
. If the target input value or its member variable contains a class instance having methods, those methods would not be cloned.For reference, this
typia.misc.clone()
function does not validate the input value type. It just believes that the input value is following the typeT
. Therefore, if you can't ensure the input value type, it would be better to call assertClone function instead.