The plot of the episode, involving an alternate reality where the same people are present, but their personalities are different is drawn from Star Trek's "Mirror, Mirror."
When Cordelia meets her old gang, Harmony says she found someone better fitted for Cordelia than Xander was and shows her Jonathan. Cordelia toyed with dating Jonathan in "Reptile Boy"