Near DOF blur?

The problem with that is that it then applied to everything in the game, which is not what i want. Looks bad for things like foliage etc if you bring the clipping plane too close to the camera.