changed to use copy(dataset) when input is a data.table
Merge branch 'devel' of github.com:mrdwab/splitstackshape into devel