Seeing that all the units with stakes have it twice: (example from longbowmen)
Code:
attributes       sea_faring, hide_forest, can_withdraw, stakes, stakes
I tried it with one stakes, and with 4 or 8, haven't noticed any change.

btw, anyone tried to do something with ternary weapons? (not dead cows)