You can clone with
HTTPS or Subversion.
Add onCall(n) and friends to SinonStub definition
These were added in Sinon 1.8, and the definition claims to be Sinon
"As of Sinon version 1.8, you can use the onCall method to make a stub
respond differently on consecutive calls."