title: jQuery: $(template) vs .clone()
body: <p>Lets say we have a complex string <code>template</code> (maybe a div containing lots of other tags..) and we need to add this HTML node multiple times to our existing document.</p>
  
  <p>Will it be faster to create the HTML nodes from the template each time</p>
  
  <pre><code>var $html = $(template); // 1st run
  var $html = $(template); // 2st run
  ...
  </code></pre>
  
  <p>or to only create them once and then clone them:</p>
  
  <pre><code>var $template = $(template); // init
  var $html = $template.clone() // 1st run
  var $html = $template.clone() // 2st run
  ...
  </code></pre>