Duality, Generalized Global Symmetries and Jet Space Isometries