pvorb / clone

deeply clone arbitrary objects in javascript
https://www.npmjs.com/package/clone
MIT License
781 stars 130 forks source link

Cannot clone Vue component #116

Open emahuni opened 4 years ago

emahuni commented 4 years ago

attempting to clone a vue component you get the following error:

Uncaught TypeError: Illegal invocation
    at _clone (clone.js?4a13:162)
    at _clone (clone.js?4a13:162)
    at _clone (clone.js?4a13:162)
    at _clone (clone.js?4a13:162)
    at _clone (clone.js?4a13:162)
    at _clone (clone.js?4a13:162)
    at _clone (clone.js?4a13:162)
    at _clone (clone.js?4a13:162)
    at _clone (clone.js?4a13:162)
    at _clone (clone.js?4a13:162)
gadicc commented 4 months ago

Probably related: https://github.com/pvorb/clone/issues/99