I'm aware of employment contracts that require you to pay back the cost of training if you leave the job before some specified time period (maybe 1 or 2 years).