Utility for merging two or more objects