Enable node* clone functions to produce deep copies which live on a specified query.