Inter Milan raced to a three-goal lead against Sampdoria then nearly threw it all away as they clung on for a 3-2 win which took them top of Serie A, at least for 24 hours, on Tuesday.