XRENDERING-283: XDOM#clone() doesn't clone the meta data
* add unit test