Fix delete race condition in clone