It's a new feature (a very welcome one at that). The Poke Ball the female is in gets passed down to its egg. I don't believe this applies to Ditto. If you have a Ditto in a Ultra Ball, but breed it with a male Pokemon, the resulting egg would end up in a regular Poke Ball. I try to catch...