Is cloning much of the funcionailty of an application legal?