Implement handoff.

Not sure if this implementation is actually what is semantically correct, but using the existing dets structure, iterates over all objects and inserts them on the remote side.  It uses `insert_new` so it makes sure that subsequent additions on already replicated data is idempotent.