return new CopyOfNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), select.clone(stylesheet));
TemplateNode ret = new CopyOfNode(select.clone(stylesheet)); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret;
  TemplateNode clone(Stylesheet stylesheet)  {    return new CopyOfNode((children == null) ? null :                          children.clone(stylesheet),                          (next == null) ? null :                          next.clone(stylesheet),                          select.clone(stylesheet));  }