unique.data.table() is much faster (28s down to 9s) when loop'd by avoiding overhead of [.data.table