Prime Minister Mark Carney’s announcement echoes commitments from the U.K. and France.