quotation on limits of invention

Need to cite the name of the head of the patent office who was quoted to have said in the latter part of the 19th century that all that could be invented had been and they should close the patent office. Would appreciate a link to that quote.

It is a myth based on a comment taken out of context:

The Charles Duell Rumor

Sorry to disappoint you, but apparently this is yet one of those famous quotes that have never really been said the way in which they’ve become famous.

This website, which itself provides a source, says:

And welcome to the SDMB, btw!