return new IfNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), test.clone(stylesheet));
TemplateNode ret = new IfNode(test.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 IfNode((children == null) ? null :                      children.clone(stylesheet),                      (next == null) ? null :                      next.clone(stylesheet),                      test.clone(stylesheet));  }