Validate uniqueness of flags, and let options be defined multiple
times if they have identical definitions.