Before we had to set size, spacing and origin for the new dimension
But we could want to have the same size, spacing and origin than another image.
So I add the like option
I remove the required for the size option because if like is set , size is not mandatory
I controled that like and origin, size or spacing are not set at the same time