and a man marrying into a clan may have taken on the name of that clan the same as his partner.
That is quite a common practise for middle names, i.e my grandfather was Colin Murray Cunningham - his mother was a Murray, for a different example my grandfathers father was Alexander MacRae Mcleod - he married Annie MacRae and took on her surname as a middle name etc etc etc...