code: public static <T> List<T> collect(Collection<T> self) {
          return (List<T>) collect(self, Closure.IDENTITY);
      }
docs: Iterates through this collection transforming each entry into a new value using Closure.IDENTITY
  as a transformer, basically returning a list of items copied from the original collection.
  <pre class="groovyTestCase">assert [1,2,3] == [1,2,3].collect()</pre>
  
  @param self    a collection
  @return a List of the transformed values
  @since 1.8.5
  @see Closure#IDENTITY