In a unanimous opinion Tuesday, the New Jersey Supreme Court held that a nondisparagement provision in a settlement agreement for allegations of sexual harassment, sex discrimination and retaliation is against public policy and cannot be enforced.