title: Mongomapper: copy a document into a new document
body: <p>I have a mongomapper document with embedded documents, and want to make a copy of it. </p>
  
  <p>In essence, what I am trying to do is something like this:</p>
  
  <pre><code>customer = Customer.find(params[:id])
  new_customer = Customer.new
  new_customer = customer
  new_customer.save
  </code></pre>
  
  <p>So I want to end up with two different mongomapper documents, but with identical content.</p>
  
  <p>Any ideas how this should be done? </p>