Throws exception if added item is detected as a duplicate - fixes #364
Merge branch 'master' of git://git.optf2.com/wayland