abstracted method for cloning Xray::XDI objects for association with Demeter::Data objects