Added support for clocking during capture