title: How to clone Collada object including multiple meshes in Three.js
body: <p>I've loaded a .dae model including multiple meshes, and tried to clone it but failed. Following is the code I used.</p>
  
  <pre><code>loader.load( 'assets/model/deck.dae', function ( collada ) {
      deck = collada.scene;
      console.log(deck);
      window.referenceModel = deck.children[0];       
      refObject  = window.referenceModel;     
  } );
  var deckClone = new THREE.Mesh( refObject.geometry, refObject.material );
  scene.add( deckClone );
  </code></pre>
  
  <p>This code works well on sample .dae file consists of one mesh but doesn't work well on the other .dae file made by myself. .dae file I made consists of several mesh groups.
  I will attach those files.
  This is sample .dae file.
  <a href="https://drive.google.com/file/d/13BCp6avslnpb1O8Q6xCqjE-ueojgz1AD/view" rel="nofollow noreferrer">https://drive.google.com/file/d/13BCp6avslnpb1O8Q6xCqjE-ueojgz1AD/view</a>
  And this is .dae file I made myself.
  <a href="https://drive.google.com/file/d/1BTIMs0IHHqrixvj45NXcZoh1PhEnm2Qr/view" rel="nofollow noreferrer">https://drive.google.com/file/d/1BTIMs0IHHqrixvj45NXcZoh1PhEnm2Qr/view</a></p>
  
  <p>I want to know how to clone objects from the second .dae files, or how to convert the second one to .dae file with the same structure (one mesh) file.</p>