I have been thinking of adding a license clause to everything I make (code especially) that makes any AI trained on it my sole exclusive property, but I don't know how defensible that would be in court ?
Or any other sort of trap clause. But again, I don't know how to word it. Like "this makes your model public domain" or "you grant a free worldwide unlimited license to every human on earth".
Something that makes the mere inclusion of the code in a training data set into absolute legal poison to the would-be owners.
I am not a lawyer, not even slightly...