Duplicate tracking

As described in the [mailing-list thread](https://groups.google.com/d/topic/elm-discuss/WVYoFTVLsJI/discussion). 
Needs a thorough code review before merge.