How to clone js object?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/122102/what-is-the-most-efficient-way-to-clone-a-javascript-object">What is the most efficient way to clone a JavaScript object?</a>  </p>
</blockquote>



<p>How to clone js object with out reference like these:</p>

<pre><code>{ ID: _docEl,
  Index: next,
  DocName: _el
}
</code></pre>

<p>Any ideas?</p>
