Shouldn't gpt at a minimum check to see if a device is mounted before creating or destroying a table? I just lost a full 2TB drive's worth of data (backed up, fortunately) because I fat fingered the device name. Why would it ever be a good idea to allow this on a mounted device?
Tim