The phrase "as slippery as glass" is a simile. It directly compares two unlike things—slipperiness and glass—using the word "as" (or "like") to draw the parallel.