GROOVY-6179: create new list instances of similar list type