One claimed method is to give a Pokémon holding a Master Ball to the daycare with another Pokémon, then hatch an egg that may also hold the item. This trick is not guaranteed and should be treated as a fan-reported method rather than official mechanics.