GROOVY-6846: DGM.retainAll() has wrong generic type on Closure condition