Deep copy/clone from source to dest without the private keys, the keys that start with _ or __, at every depth.
This is the userData that is saved in glTF: _ keys are kept on clone and in JSON but not in glTF, __ keys are kept nowhere (see IObject3D.userData).
Used for the shadow camera in GLTFLightExtrasExtension. For JSON (toJSON, fromJSON) use copyUserData, which skips only the __ keys.
Deep copy/clone from source to dest without the private keys, the keys that start with
_or__, at every depth. This is the userData that is saved in glTF:_keys are kept on clone and in JSON but not in glTF,__keys are kept nowhere (see IObject3D.userData). Used for the shadow camera inGLTFLightExtrasExtension. For JSON (toJSON,fromJSON) use copyUserData, which skips only the__keys.