Unless you violate the intellectual property rights, copyrights, patents, or trademarks of existing firms, cloning a website or app is completely lawful. It's possible that the term clone or app cloning conveys an inaccurate picture of what's going on.