In the case of an incline, the force of gravity is not perpendicular to the surface. As the angle of the incline increases, the normal force decreases, which decreases the frictional force. The incline can be raised until the object just begins to slide.