title: How to copy/clone a hash/object in JQuery?
body: <p>I have a simple object (or hash) in Javascript:</p>
  
  <pre><code>var settings = {
    link: 'http://example.com',
    photo: 'http://photos.com/me.jpg'
  };
  </code></pre>
  
  <p>I need a copy of it.  Is there a <code>settings.clone()</code> type method that will give me another object with the same attributes?  I'm using jQuery, so happy to use a jQuery utility method if one exists.</p>