introduces eraseDataset in the client