[groovy] tweak isEquivalentTo() in accessors and light variables