They are similar, but there are subtle differences.
For instance the CD4029 mentions that the PRESET values are asynchronous whereas the 74LS161 are synchronous.
On the CD40xx devices most of the control input signals are asserted with a logic 1, whereas on the 74xx series they are usually asserted with a logic 0.
But not always!
You have to go thru all the truth tables and timing diagrams, side by side, to determine those differences.