mode);
mode, isAnyNode);
  Template clone(Stylesheet stylesheet)  {    // FIXME by cloning we lose the imports() functionality, so    // apply-imports will be broken.    return new Template(stylesheet,                        name,                        (match == null) ? null :                        (Pattern) match.clone(stylesheet),                        (node == null) ? null : node.clone(stylesheet),                        precedence,                        priority,                        mode);  }