Why would Trump repeat it unless he thought he could get some traction with it? The man has no moral compass, something incredibly lacking in a presidential candidate.
The woman who yelled it out did get traction with it. However, Trump said it was terrible and did not condone it. Case closed.
It’s clear Trump was joking when he rebuked her. Then he repeated what she said knowing it would get cheers from his crowd. Anyone saying he disapproved is lying.