Non Compete agreements

Are they legal for inclusion in agreements with
consultants or independent contractors in NY
and do you have a sample of a clause I might
review.
Thank you.
consultants or independent contractors in NY
and do you have a sample of a clause I might
review.
Thank you.