Clear Flip Flops / Both latches and flip flops are circuit elements wherein the output not only depends on the current inputs, but also depends on the previous input and the flip flop would be cleared during a clock pulse only if the output q was previously 1.