Canonical groovy would be allocatePorts([], cl)