Not to mention that it was putting humor in the middle of a whole crapload of the good guys dying. Not clones of which there are thousands of, Jedi of which there were maybe a couple of hundred in the battle to begin with.
And yes, Obi's "Great job" line in the arena was hilarious. I was busting up.