Implement copying scalar value from temporary storage