otbcli_ManageNoData multiband image buildmask

Hi,

I try to build the nodata mask from a multiband image.
It outputs a single band image with the value 241.
Is it expected?
Is there a way to produce a mask with as many band as the input image?

OTB-9.1.0-Linux/bin/otbcli_ManageNoData -in S2_Hornsund_SC.tif -out tmpND0.tif -mode buildmask -mode.buildmask.inv 0 -mode.buildmask.outv -9999 -usenan 1

Thanks, best.

César Deschamps-Berger