in reply to Re^7: Sharing XS object?
in thread Sharing XS object?

Check out shared_clone().