Implemented clear inventory command.