Analytic schema currently does not have a way to check whether duplicate mutable elements are found in an analytic object. This functionality can be similar to that of detecting duplicate log source references here.
After this validation is added we will be able to remove custom validation logic for analytics from workbench frontend here.