There's something called a design patent which IIUC prevents, e.g., Samsung from selling a tablet computer that looks too much like an iPad.