Looking at this answer in another thread, which is referenced in the discussion posted by @Christian_Dahlqvist, the shards are cloned and then docs are deleted in a similar way to delete by query.
The thread referenced above does walk through an example which may help explain further.