Generalized Data Thinning Using Sufficient Statistics