I have used a muzzle on occassion for this purpose. Maggie had a habit of eating everthing in site. I bring her to work and one day she required an xray, they found staples in her stomach. Only used it while I could not watch her but did not want to put her in the crate. Maggie has been through Kindergarten and Middle School and knows leave it perfectly, unless she ssees something she REALLY !!!! wants. We have found Cigarette Butts (We know noone who smokes) dollar bills, etc in her poop. We still have problems on occassion, but she is almost a year and they are much less frequent.
Mom to Maggie Mae 2 year old Cav & Cuddles the Cat and CoCo her sister, at the bridge