Maybe

Object.assign   but sub itme only reference

So JSON.parse(JSON.stringify(theObject))