What is the correct way to clone a polymer element?
问题 I have been trying to clone polymer elements - typically elements that have been created from data of some kind, so it is not an option to just create a new instance of the template with the constructor or document.createElement . element.cloneNode does not work on its own as it does not copy the shadow-root lodash proposed by Polymer Clone Objects does not seem to do anything (cloned object is empty) cloneEl.shadowRoot.innerHTML = sourceEl.shadowRoot.innerHTML; copies the shadow-root, but