Implement clear command