Added ability to duplicate data sets and improved saving data sets.
Improved data set duplication. Note: This breaks type-ahead, but solving this issue will fix the other type-ahead glitch.