The heterogeneity of coupled oscillators is important for the degree of their synchronization. According to the classical Kuramoto model, larger heterogeneity reduces synchronization. Here, we show that in a model for coupled pancreatic β-cells, higher diversity of the cells induces higher synchrony. We find that any system of coupled oscillators that oscillates on two time scales and in which heterogeneity causes a transition from chaotic to damped oscillations on the fast time scale exhibits this property. Thus, synchronization of a subset of oscillating systems can be enhanced by increasing the heterogeneity of the system constituents.