title: How to clone/extend mongodb javascript object in shell
body: <p>It's very easy to copy a javascript object in jQuery using jQuery.extend() function call. I am curious is there any way to do the same task in mongodb shell?</p>