By copying the tricks of the lotus plant, materials scientists have created a cup that cleans itself by repelling water from its surface.