Added TS stubs for clone library.

Added TS stubs for the clone JS library.