code: function cloneIfElseNodes(element, hasElse) {
        var children = childNodes(element),
            ifNodes = [],
            elseNodes = [],
            target = ifNodes;
          
        for (var i = 0, j = children.length; i < j; ++i) {
            if (hasElse && isElseNode(children[i])) {
                target = elseNodes;
                hasElse = false;
            } else {
                target.push(cleanNode(children[i].cloneNode(true)));
            }
        }
        
        return {
            ifNodes: ifNodes,
            elseNodes: elseNodes
        };
    }
docs: Clone the nodes, returning `ifNodes`, `elseNodes`
  @param  {HTMLElement} element The nodes to be cloned
  @param  {boolean}    hasElse short-circuit to speed up the inner-loop.
  @return {object}         Containing the cloned nodes.