GROOVY-5888: Using spread operator should be allowed on arrays too