Implement cloneNode() for Element nodes and add some tests