Duplicate Properties

Added support for detecting and removing duplicate properties