libceph: add helper that duplicates last extent operation