I'm looking for something that works like the Linux command uniq -d.
In reply to What is the best way to get just the duplicates from an array? by wenD