This function generates synthetic high-dimensional data consisting of
\(k\) clusters of a specified shape (e.g., crescents), arranged in
parallel along alternating dimensions. The first cluster is shifted
along the first dimension, the second along the third dimension,
the third along the first dimension again, and so on.