Add reference equality check to SetEquals methods.

The SetEquals methods are rather expensive, and it's a quick and super-effective check to compare reference equality between the two collections before engaging in the expensive work.
I don't understand how this checks reference equality, it looks like SetWith creates a new collection.