To answer your question in theory, you can take a cutting right up until harvest. It isn't ideal by any means and your best bet is to put it under 24/7 and then gradually introduce it to veg nutes.
Why not just re-veg the plant to a mother and take clones from that?