Normally, a transaction output will contain a list of address + amount. Each element in this list has an associate output number, "vout". For example:
Transaction outputs:
vout=0: addr=m111111, amount=100
vout=1: addr=m222222, amount=200
My question is: would it be legal for a transaction output to contain the same target address more than once? Take for instance the example below, where address "m222222" appears in vout=1 and vout=2:
vout=0: addr=m111111, amount=100
vout=1: addr=m222222, amount=100
vout=2: addr=m222222, amount=100
I know this seems silly. I'm just wondering if it is the sort of thing one might encounter "in the wild".