Protection of a mobile agent with a reference clone