An easy method is to get hyper-realistic pool toys depicting predatory animals, like alligators, whales, snakes, and sharks, to scare the ducks away. Swans, their sworn archenemies, work equally well.