@Category(Map) class MapMinus { Map minus(Collection keys) { this.findAll { k, v -> ! (k in keys) } } Map minus(Object key) { this - [key] } } use (MapMinus) { assert [b: 2, c: 3,] == [a: 1, b: 2, c: 3,] - 'a' assert [b: 2, c: 3,] == [a: 1, b: 2, c: 3,] - ['a'] }