def lst = ['foo', 'foo', 'bar', 'baz']
// *modifies* the list removing duplicate items
lst.unique() // [foo, bar, baz]
// setting to false the "mutate" argument returns a new list, leaving the original intact
lst.unique(false) // [foo, bar, baz]
// convert the list to a Set, thu...