Google is designing a new system that could help keep pirated apps out of Google Play. By scanning each app as it is submitted and comparing its assets against those used in other apps, the search giant could detect illegal clones before they make their way into users’ hands.