[cvs-nhc98] patch applied (yhc): Add and export duplicateVar from FreeVar3