title: How to copy the state of a manually (un)checked checkbox?
body: <p>In other words, without triggering Javascript events to change the attributes of the <code>&lt;input&gt;</code>, how to preserve the state of a checkbox that I manually checked or unchecked and then copied to another place?</p>
  
  <p>Run the snippet below and check or uncheck a few of them and hit "copy":</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('#cp').click(function(){
    $('#copy').html($('#original').html())
    $('#copy-clone').html($('#original').clone().html())
  })
  $('#hi').click(function(){
    $('#original input:checked').parent().css('border','2px solid red')
  })</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;form id="original"&gt;
    &lt;label&gt;&lt;input type="checkbox" name="man"&gt;man&lt;/label&gt;
    &lt;label&gt;&lt;input type="checkbox" name="woman"&gt;woman&lt;/label&gt;
    &lt;label&gt;&lt;input type="checkbox" name="monkey"&gt;monkey&lt;/label&gt;
    &lt;label&gt;&lt;input type="checkbox" name="banana" checked="checked"&gt;banana&lt;/label&gt;
  &lt;/form&gt;
  &lt;button id="cp"&gt;copy&lt;/button&gt;
  &lt;button id="hi"&gt;highlight&lt;/button&gt;
  &lt;br&gt;&lt;form id="copy"&gt;&lt;/form&gt;
  &lt;br&gt;&lt;form id="copy-clone"&gt;&lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Those previously or manually <code>:checked</code> are correctly selected, but the states of the manually changed ones is never copied  (run the snippet, select a few, hit "highlight" and then "copy")...</p>