Implemented enhancement to skipRepeats.

As a response to issue #1567. I've implemented both the hot and cold versions.
You might be able to just say `skipRepeats(==)` (but I haven't tried this, so I'm not sure).