TabView, equals, hashCode
(cherry picked from commit 355c03b)