What is a safe antioxidant or additive to prevent home baked goods from molding so fast?

Putting a piece of bread in the center (or bottom) of the container sometimes helps to keep baked goods fresh.