Add equivalency options to compare enums by value or by stringvalue