I know this request has already been rejected by supercell staff but I really think there should be something you can do while you watch your base get absolutely destroyed. If you are watching a live replay, you should be able to tap on the enemy's troops (limited troop space, upgradeable) and these would then join the prison building on your base. There would then be a timer on the building (depending on strength of the captured unit) and when this runs out, the troops will gaol-break. (user might have to pay a repair fee if this happens). Gaol-break could onky be stopped by using the imprisoned troops in an attack.
Suggestions for troop space prison can hold:
town hall 6: 5-10
town hall 7: 10-15
town hall 8: 15-20
town hall 9: 25-30
town hall 10: 30-35
When placing troops into your prison, there could also be a timer of 5 seconds of prison activation. Animations for the prison would be policemen appear by the prison when the defending owner comes online, and these cops drag the troops into the prison once you tap on the designated attacking troop.
hopefully this changes your previous thoughts on a prison.

