title: Duplicated div lost style
body: <p>I've got a div like this, intended to be a dynamic field creator.</p>
  
  <pre><code>&lt;div id='parent'&gt;
      &lt;div id='child1'&gt;
          &lt;input type='text'&gt;&lt;/input&gt;
      &lt;/div&gt;
      &lt;div id='child2'&gt;
          &lt;input type='text'&gt;&lt;/input&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>As you can see here <a href="https://jsfiddle.net/xj0c50th/" rel="nofollow">https://jsfiddle.net/xj0c50th/</a>, the styles in new cloned divs are lost. </p>
  
  <p>Why is this happening?</p>