Minor cleanup
extend device for cloning, and fix an outstanding database schema divergence
raise an exception if it's anything other than  a duplicate key
filesets are now clonable