This law seems to be protecting employers for having unfair and disproportionate wages among employees, (ahem, likely for women and people of color doing the same job). This is absurd and people should be protected if this comes up in discussion, though this is still technically allowed, among many other reasons, in at-will states where you can be fired for any (or no) reason.