GROOVY-6928: Support all the Java 6 classes at createSimilarCollection() and createSimilarMap()