Add support for `key` argument to distinct function
Merge pull request #282 from rs/distinct-key

Add support for `key` argument to distinct function