Implement Node.cloneNode

Spec:
http://dom.spec.whatwg.org/#dom-node-clonenode

Closes #1240.