are you sure it's a wild mallard? Domestic mallards are a bit bigger than wild mallards. Someone could have dropped you off a pet or a pet flew in.
Edited to add: its' not that i dont believe a wild mallard can fly in and join up with domestic ducks. But the fact that you didn't notice a...