Duplicate array keys
minor #516 Remove duplicate array items (mrarthur)

This PR was merged into the 5.2-dev branch.

Discussion
----------

Remove duplicate array items

Commits
-------

1d688b7 Duplicate array keys