Naive deepclone (moved to @engervall/shared)
A very naive implementation of deeclone
const myObject = {
is: {
quite: {
nested: 1337,
},
},
};
const deepclone = naiveDeepclone(myObject);
// `deepclone` has no references to `myObject`