changed clone() not to use HTML::Element directly