Overriding equals/hashCode where appropriate to allow for recursive checks of nested array base type constraints.