The entire board clears — every gem on screen is destroyed.
It's the single most destructive move in the game, which is why it's worth saving for a moment when you need a full reset rather than spending it early. One important caveat: you only get the two hypercubes back by matching two hypercubes together, and that's possible in Classic or Zen mode. In other modes, consider them spent.