When an invention is made by someone who would ordinarily have no duty to assign to the employer, but who did so using employer resources or while on company time.
In such cases, employers are entitled to a "shop right," by which an employer receives a royalty-free non-exclusive license to use the invention during the term of any patent that the employee might get for the invention.