/src/main/java/org/htmlunit/html/HtmlElement.java
synchronized ( attributeListeners_) { if ( !deep) {final HtmlElement newNode = ( HtmlElement) super.cloneNode( deep) ;
final HtmlElement newNode = ( HtmlElement ) super.cloneNode ( deep ) ; if ( !deep ) { synchronized ( attributeListeners_ ) {
removeAttribute(ATTRIBUTE_REQUIRED); } } } @Override public DomNode cloneNode(final boolean deep) { <extra_id_0> newNode.attributeListeners_.clear(); newNode.attributeListeners_.addAll(attributeListeners_); } } return newNode; }