I have an onPaste event. I am trying to deep copy it using the standard methods, e.g.
_.cloneDeep(pasteEvent)
or
Object.assign({}, pasteEvent)
or
JSON.parse(JSON.stringify(pasteEvent))
It returns as empty object (lodash) or an object with one property (the other two methods). The event that I can't copy: