Most land predators of ducks can and will swim, and you’ve got birds that can’t fly. They’d still be in danger out on the pond at night and would be best locked in their house at dusk same as if they were on land. Which begs the question of why bother put it on the pond making your cleaning and maintenance more difficult.