Log the element name if it's a duplicate

This will help people know which element was actually a duplicate

For issue #111