Most likely a hermaphrodite (both sex reproductive organs). Other possibilities are an anatomical female with testosterone overproduction, or an anatomical male with overproduction of female hormones. I don't think it is an eclipse drake with its seasons messed up because the bill color, head plumage and top white line of the wing patch all show female traits.