Dynamic Manipulation of Deformable Objects using Imitation Learning with Adaptation to Hardware Constraints