Added a command to destroy a dataset. Not connected to any UI at the moment (related to #3921)