Coorbital capture at arbitrary inclination