Dysplastic nevi are moles that are larger than the diameter of a pencil eraser and irregular in shape. These moles tend to be inherited, meaning they are caused by genes passed from parents to children.