In every programming language sometimes there is a need to have an exact copy of on object. Copy that will be faithful reflection of the base object, with all attributes and fields at every nesting level.
lodash deep clone
Now lets check the performance comparision.
If you want to check this benchmark by yourself, click this link: http://jsben.ch/bWfk9