Move cloneNode into dom helpers