copyNonNull

abstract fun copyNonNull(obj: T): T

Creates a deep copy of the given non-null obj.