title: Knockout: copy values from one model instance into another model instance
body: <p>I have two Knockout Model instances (ModelInstance1 and ModelInstance2). For both instances all bindings are already applied and page is loaded with two different forms.</p>
  
  <p>One form is visible for user and allows user to do inline editing. FOr this form I use ModelInstance1.</p>
  
  <p>Another form is modal form that appears on Edit button click. This form uses ModelInstance2. If user clicks Cancel, then no values are saved to database and modal form is closed.</p>
  
  <p>Now I need on my custom event (imagine as it would be button click) to copy all values from one instance to another. </p>
  
  <p>Of course, I can do like this manually:</p>
  
  <pre><code> ModelInstance2.FirstName(ModelInstance2.FirstName());
   ModelInstance2.LastName(ModelInstance2.LastName());
   etc.
  </code></pre>
  
  <p>but is there any other way to do this?</p>
  
  <p>Take into account that my Model contains observables, observable arrays, computed and subscriptions. </p>