Try to recover an object by its ID before duplicating it.