code: @SuppressWarnings("unchecked")
      public static <T> List<T> collect(Iterable<T> self) {
          return collect(self, (Closure<T>) 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 an Iterable
  @return a List of the transformed values
  @see Closure#IDENTITY
  @since 2.5.0