This method compares to models regarding equality For this the identity of a model element is defined based on identity of all attributes and referenced elements. Arrays are sorted before comparison if possible (if <=> is provided).
[Validate]