In principle, you remove the incentive for plagiarism by making the students' reward for their work be what they learn as a result, rather than some kind of certificate.
Oh cool, so we just need to fix a massive social problem that's generated by long-running structural trends within our society and economy. Then we can stop using plagiarism detection software.