When a cause of action has arisen in another State, or in a foreign country, and by the laws thereof an action thereon cannot there be maintained against a person by reason of the lapse of time, an action thereon shall not be maintained against him in this State, except in favor of one who has been a citizen of this State, and who has held the cause of action from the time it accrued.
(Enacted 1872.)