Infinity Gems
During the "Incursion" storyline, the Avengers travel to a parallel Earth where a pastiche of the Justice League have replaced this Earth's Avengers who all died in a previous cataclysm. Here the Gems are all square planes which are assembled into the "Wishing Cube", a composite of the concepts of the Infinity Gems and the Cosmic Cube.