XRENDERING-283: XDOM#clone() doesn't clone the meta data
(cherry picked from commit d4a66ac15fd3edba1f7abf3f8b89d27c872d8a2a)