This is a play on words. The word "wildly" means spoken in a way that lacks restraint but "Wilde" is also the name of famous literary figure Oscar Wilde.
I wish I ' d said that , Oscar , said Tom wildly .