Updates in base allocators

- Refactored the duplicate/release functionality into a policy.