ee.Image.arrayRepeat

Repeats each array pixel along the given axis. Each output pixel will have the shape of the input pixel, except length along the repeated axis, which will be multiplied by the number of copies.
UsageReturns
Image.arrayRepeat(axis, copies)Image
ArgumentTypeDetails
this: inputImageImage of array pixels to be repeated.
axisIntegerAxis along which to repeat each pixel's array.
copiesImageNumber of copies of each pixel.