In order to make this generic, we could imagine adding a button to delete all xobjects of a given type in the object editor (we might want to require admin rights for this though).