This generalization is called a ternary commutator, and there are $n$-commutator generalizations, as explained here:
http://ilorentz.org/beenakker/MO/n_commutators.png
Carlo Beenakker
- 188.2k
- 18
- 448
- 651