I am sure before you started this project you looked at other existing libraries. How is this solution compared with the lodash _.cloneDeep https://lodash.com/docs/4.17.11#cloneDeep.
Thanks
Thanks
EDIT: I said assign method earlier, I meant create. The assign method is the pre-ES6 way of creating object instances. Object.create() is used to inherit prototypes. That’s such a common mix-up that I’m embarrassed I didn’t catch it.
(Of course I can and do use ES6 when coding for other people, I write to whatever standard is established in a codebase.)