Hi i am assuming that you are taking last order item is the item which you are viewing.
for implement you requirement you need first load order item object of that item from order object.
You can take order item object from item collectoin by adding product filter like blow:
<?php $orderItems=Mage::getModel('sales/order_item')->getCollection()
->addFieldToFilter('product_id',$_product->getId());
$latestitem = $orderItems->getLastItem(); ?>
After loading product option you can create hidden input and in which you can define product option as value like below:
<input type="hidden" name="quickproductoption" value="<?php echo $latestitem->getProductOptions(); ?>"/>
Now in add quick product action you can get the data from quickproductoption input and add it programmatically like below:
<?php
/* load $product from request product id */
$cart = Mage::getSingleton('checkout/cart');
$data = $this->getRequest()->getPost('quickproductoption');
$params = $data['info_buyRequest'];
$params['qty'] = 1;
$cart->addProduct($product, $params);
?>
I hope it will help you