GROOVY-6365: avoid additional wrapping of Object[] into Object[]