This is just theoretical question, without context.In case somebody hire me (as freelancer (I'm A1))client (A2) wants to develop CLONE of an existing application from B1 companyafter some time I give completed application to my client (A2)after some time original owners of application (B1) I cloned want to go to courtWho would be responsive for damage caused to B1 company?Me as freelancer (A1)  or my client (A2) which runs that site and take money from it?
Who would be responsive for damage caused after cloning foreign application but NOT running it as freelancer?
freelancing;legal
Short answer: everyone involved. That's how lawyers workLong answer: this depends on what exactly 'clone' means. If your work does not violate actual patents (for example being a clean-room reimplementation) there's hardly anything B1 can do. This does not mean however they will not try.As with all things legal, this is also dependent on where you and your employee are located, details of your contract etc. In other words - consult a lawyer not an internet site.Standard discalimer: I am not a lawyer