The frequency of the pecking can be reduced by providing plenty of space for the ducklings to roam in as well as some activities to do, a water source will help of course, but so will a hanging treat ball, brush pile, or logs in their pen. I'm not sure what your setup is like, but most often...