docs: protected SVGDocument cloneDocument() {
      return (SVGDocument) new CloneInlineImages() {
        @Override
        public Node cloneNode(Document doc, Node eold) {
          // Skip elements with noexport attribute set
          if(eold instanceof Element) {
            Element eeold = (Element) eold;
            String vis = eeold.getAttribute(NO_EXPORT_ATTRIBUTE);
            if(vis != null && vis.length() > 0) {
              return null;
            }
          }
          return super.cloneNode(doc, eold);
        }
      }.cloneDocument(getDomImpl(), document);
    }