Implement a Python class called Calculator in a file named /app/solution.py that provides basic arithmetic operations. The class should have the following methods:
add(a: float, b: float) -> float: Returns the sum of a and b.
subtract(a: float, b: float) -> float: Returns the difference when b is subtracted from a.
multiply(a: float, b: float) -> float: Returns the product of a and b.
divide(a: float, b: float) -> float: Returns the quotient of a divided by b. If b is zero, raise a ValueError with the message "Cannot divide by zero".
The Calculator class should also include a method called clear that resets any internal state (although for this simple calculator, state management is not necessary unless further specified).
Ensure that the methods handle the following requirements:
The add, subtract, multiply, and divide methods must accept and return float values.
The divide method must handle division by zero appropriately by raising a ValueError.
Make sure to include error handling and validate inputs where necessary. After implementing the class, the provided test cases should pass successfully, confirming the correctness of your implementation.