Added a distinct with key-selector method