Add a distinct iterator.
Merge pull request #1 from dcjones/master

Add a distinct iterator.