Mars has announced it is to close its Wrigley gum factory in Toronto, a move which sees 383 jobs placed at risk.